﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="list.aspx.vb" Inherits="testing_tools.list" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        &nbsp;</p>
    <p>
       List Of Books</p>
    <p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="ID" DataSourceID="testingtoolsdatasource">
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
                ReadOnly="True" SortExpression="ID" />
            <asp:HyperLinkField DataNavigateUrlFields="ID" 
                DataNavigateUrlFormatString="detail.aspx?ID={0}" DataTextField="Tool_name" />
            <asp:BoundField DataField="company" HeaderText="company" 
                SortExpression="company" />
            <asp:ImageField DataImageUrlField="tool_picture" HeaderText="Thumbnail">
            </asp:ImageField>
            <asp:BoundField DataField="version" HeaderText="version" 
                SortExpression="version" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="testingtoolsdatasource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:testingtoolsConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:testingtoolsConnectionString.ProviderName %>" 
        
            SelectCommand="SELECT [ID], [Tool name] AS Tool_name, [company], [tool picture] AS tool_picture, [version] FROM [testingtools]">
    </asp:SqlDataSource>
</p>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</asp:Content>
